package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Role;

import java.util.List;

/**
 *
 * @author sch
 * @version 1.0
 * @since 2025-10-08-21:02
 */
public interface RoleService {
    PageResult<Role> listRoles(String name, String label, Integer page, Integer pageSize);

    void deleteById(Integer id);

    void addRole(Role role);

    Role getRoleById(Integer id);

    void updateRole(Role role);

    List<Role> listAllRoles();

}
